import request from "@/utils/axios"; 
export function upload(data) {
    return request({
        path: "/node/beauty/upload",
        data,
        headers: {
            'Content-Type': 'multipart/form-data', // 确保设置正确的 Content-Type
        },
    });
} 
export function getFaceConfig(data) {
    return request({
        path: "/node/beauty/getFaceConfig",
        data,
    });
}  
export function updateFaceConfig(data) {
    return request({
        path: "/node/beauty/updateFaceConfig",
        data,
    });
}  
export function updateFaceConfigHandel(data) {
    return request({
        path: "/node/beauty/updateFaceConfigHandel",
        data,
    });
} 


export function getMakeupConfig(data) {
    return request({
        path: "/node/beauty/getMakeupConfig",
        data,
    });
}
export function updateMakeupConfig(data) {
    return request({
        path: "/node/beauty/updateMakeupConfig",
        data,
    });
}
export function updateMakeupConfigHandel(data) {
    return request({
        path: "/node/beauty/updateMakeupConfigHandel",
        data,
    });
} 

export function getProductConfig(data) {
    return request({
        path: "/node/beauty/getProductConfig",
        data,
    });
}
export function updateProductConfig(data) {
    return request({
        path: "/node/beauty/updateProductConfig",
        data,
    });
}
export function updateProductConfigHandel(data) {
    return request({
        path: "/node/beauty/updateProductConfigHandel",
        data,
    });
} 
export function getFaceTokens(data) {
    return request({
        path: "/node/beauty/getFaceTokens",
        data,
    });
} 
export function getImageError(data) {
    return request({
        path: "/node/beauty/getImageError",
        data,
    });
} 
export function getTokens(data) {
    return request({
        path: "/node/beauty/getTokens",
        data,
    });
} 
export function getSurveyResponse(data) {
    return request({
        path: "/node/beauty/getSurveyResponse",
        data,
    });
} 
export function getUserList(data) {
    return request({
        path: "/node/beauty/getUserList",
        data,
    });
} 
export function getChatList(data) {
    return request({
        path: "/node/beauty/getChatList",
        data,
    });
} 
export function getImageList(data) {
    return request({
        path: "/node/beauty/getImageList",
        data,
    });
} 
export function deleteHandel(data) {
    return request({
        path: "/node/beauty/deleteHandel",
        data,
    });
}
export function batchDeleteHandel(data) {
    return request({
        path: "/node/beauty/batchDeleteHandel",
        data,
    });
}
export function getFaceVersionList(data) {
    return request({
        path: "/node/beauty/getFaceVersionList",
        data,
    });
}
export function addFaceVersion(data) {
    return request({
        path: "/node/beauty/addFaceVersion",
        data,
    });
}
export function getMakeupVersionList(data) {
    return request({
        path: "/node/beauty/getMakeupVersionList",
        data,
    });
}
export function addMakeupVersion(data) {
    return request({
        path: "/node/beauty/addMakeupVersion",
        data,
    });
}
export function getProductVersionList(data) {
    return request({
        path: "/node/beauty/getProductVersionList",
        data,
    });
}
export function addProductVersion(data) {
    return request({
        path: "/node/beauty/addProductVersion",
        data,
    });
}
export function getqrErrorList(data) {
    return request({
        path: "/node/beauty/getqrErrorList",
        data,
    });
}
export function deleteHandelQrcodeError(data) {
    return request({
        path: "/node/beauty/deleteHandelQrcodeError",
        data,
    });
}
export function batchDeleteHandelQrcodeError(data) {
    return request({
        path: "/node/beauty/batchDeleteHandelQrcodeError",
        data,
    });
}


export function getProductInfoList(data) {
    return request({
        path: "/node/beauty/getProductInfoList",
        data,
    });
}
export function deleteHandelProductInfo(data) {
    return request({
        path: "/node/beauty/deleteHandelProductInfo",
        data,
    });
}
export function batchDeleteHandelProductInfo(data) {
    return request({
        path: "/node/beauty/batchDeleteHandelProductInfo",
        data,
    });
}

//new
export function getimageToProductConfig(data) {
    return request({
        path: "/node/beauty/getimageToProductConfig",
        data,
    });
}
export function updateimageToProductConfig(data) {
    return request({
        path: "/node/beauty/updateimageToProductConfig",
        data,
    });
}
export function updateimageToProductConfigHandel(data) {
    return request({
        path: "/node/beauty/updateimageToProductConfigHandel",
        data,
    });
} 
export function getimageToProductVersionList(data) {
    return request({
        path: "/node/beauty/getimageToProductVersionList",
        data,
    });
}
export function addimageToProductVersion(data) {
    return request({
        path: "/node/beauty/addimageToProductVersion",
        data,
    });
}
export function getBeautyUserList(data) {
    return request({
        path: "/node/beauty/getBeautyUserList",
        data,
    });
}
export function getInviteConfig(data) {
    return request({
        path: "/node/beauty/getInviteConfig",
        data,
    });
}
export function updateInviteConfig(data) {
    return request({
        path: "/node/beauty/updateInviteConfig",
        data,
    });
}
export function getBeautyInviteList(data) {
    return request({
        path: "/node/beauty/getBeautyInviteList",
        data,
    });
}
